Skip to content

Conversation

@emplums
Copy link

@emplums emplums commented Mar 20, 2020

This PR fixes a typescript issue with the Grid component. The Omit<React.HTMLAttributes<HTMLSpanElement> was clashing with the Omit<React.HTMLAttributes<HTMLDivElement> in BoxProps. I don't think the HTML attribute types need to be redefined on Grid since they are already defined in the BoxProps interface, so I removed them.

TS experts plz advise: @T-Hugs @smockle @dmarcey 🙏

@emplums emplums requested a review from T-Hugs March 20, 2020 19:33
@vercel
Copy link

vercel bot commented Mar 20, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/primer/primer-components/fjfslv76m
✅ Preview: https://primer-components-git-grid-types.primer.now.sh

@emplums emplums merged commit 0071d74 into minor Mar 20, 2020
@emplums emplums deleted the grid-types branch March 20, 2020 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants